﻿#ifndef __SYSTEMINFOCONTROLLER__
#define __SYSTEMINFOCONTROLLER__

#include "BaseKit.h"

class SystemInfoController:public CAViewController{
public:
	CREATE_FUNC(SystemInfoController);
protected:
	SystemInfoController();
	virtual ~SystemInfoController();
	void viewDidLoad();
	void scrollViewHeaderBeginRefreshing();
	void scrollViewFooterBeginRefreshing();
	CACollectionViewCell* collectionCellAtIndex(const DSize& cellSize, unsigned int section, unsigned int row, unsigned int item);
	void fillData(const string& data);
private:
	int page=0;
	const char* url="/api/appMessage/query";
	CSJson::Value datas;
	CACollectionView* list;
};

#endif